package ch3;

import java.util.Scanner;

public class Prize4 {

	public static void main(String[] args) {
		// 多重if的顺序，不能改动
		Scanner in = new Scanner(System.in);
		System.out.println("请输入张浩的java成绩：");
		int java = in.nextInt();
		if (java >= 90) {
			System.out.println("优秀");
		} else if (java >= 60 && java < 80) {
			System.out.println("中等");
		} else if (java >= 80) {
			System.out.println("良好");
		} else if (java > 50) {
			System.out.println("差");
		} else {
			System.out.println("极差");
		}
	}

}
